﻿<UserControl 
    x:Name="BusyIndicator" 
    x:Class="Sidvall.UI.Uwp.Controls.BusyIndicatorControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Sidvall.UI.Uwp.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="400">

    <Border Width="260" Height="120" CornerRadius="12" HorizontalAlignment="Center" VerticalAlignment="Center">
        <Border.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" >
                <GradientStop Color="#FF4B4B4B" Offset="0.897"/>
                <GradientStop Color="#FF6E6E6E" Offset="1"/>
                <GradientStop Color="#FF4B4B4B" Offset="0.103"/>
                <GradientStop Color="#FF6E6E6E" Offset="0"/>
            </LinearGradientBrush>
        </Border.Background>
        <TextBlock FontSize="24" Foreground="White" 
                   Text="{Binding HeaderCaption, ElementName=BusyIndicator}"
                   HorizontalAlignment="Center" VerticalAlignment="Center"/>
    </Border>
</UserControl>
